package cqrtplm.mapper;


import com.hustcad.plm.pdm.common.model.vo.search.ResultEntityVO;
import com.ty.basic.entity.cad.CADDocDO;
import com.ty.basic.entity.cad.CADDocMasterDO;
import cqrtplm.entity.LifeCycleStateDO;
import cqrtplm.vo.DocxxxxVO;
import cqrtplm.vo.ModelStatisticsVO;
import cqrtplm.vo.PDFProjectVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface StoragePlanningMapper {

    String selectCabinetIdByOid(@Param("id") String id);

    DocxxxxVO selectProjectBycContainerId(@Param("id") String id);

    PDFProjectVO selectPdmIds(@Param("name") String name);

    String selectCabinetIdByOid2(@Param("id") String id);

    String selectOidByNameAndCid(@Param("id")String id,@Param("name") String name,@Param("poid") String poid);

    void setTyObjectSecuritylabels(@Param("id")String cId,@Param("name")String name);

    String selectCadDocBranchIdByOid(@Param("id")String oId);

    String queryExtendedAttributes(@Param("oId")String oId,@Param("name") String name);

    String queryExtendedAttributesID(@Param("oId")String oId,@Param("name")String name);

    void ModifyTheValueOfTheExtendedAttribute(@Param("oId")String oId,@Param("aId")String aId,@Param("value")String value);

    List<ModelStatisticsVO> queryDifferentModelsUnderTheEBOMNumber();

    void insertAttVal(@Param("attID") String attID,@Param("objID")String objID,@Param("oid")String oid,@Param("val") String val);

    String selectValExist(@Param("oId")String oId,@Param("aId")String aId);

    void updateDocSecuritylabels(@Param("oid")String oid);

    void updatePartSecuritylabels(@Param("oid")String oid);

    void updateCadDocSecuritylabels(@Param("oid")String oid);

    List<LifeCycleStateDO> selectLifeCycleStateEnum();

    void insertDocPartReference(@Param("aoid")String aoid,@Param("boid")String boid,@Param("oid")String oid,@Param("name")String name);

    Map<String,String> selectDocType(@Param("oid") String id);

    Integer selectDerivedImageCount(@Param("id")String masteredoid);

    List<CADDocDO> queryCadByNumberAndVersion(@Param("number")String number);

    Integer theExclusiveSupplierCodeOfThePictureNumberIsWeighed(@Param("concatenatedValues")String concatenatedValues,@Param("separate")String separate);
//    String selectContainerIdByProjectId(String projectId);
}
